<template>
	<view class="out_box">
		<div class="img_box">
			<img class="img" src="../static/center/Container.png" alt="" srcset="">
		</div>
		<div class="title_type">
			<img src="../static/center/Icon.png" alt="" class="icon_1" />
			<span class="text">标题</span>
		</div>
		<div class="title_type">
			<img src="../static/center/Icon (1).png" alt="" class="icon_2" />
			<span class="text">运动类型</span>
		</div>
	</view>
</template>

<script>
	export default {
		name: "SportsRecipe",
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss">
	.out_box {
		width: 100%;
		height: 100%;
		flex-direction: column;
		justify-content: center;
		
	}

	.icon_1 {
		height: 24px;
		width: 24px;
		margin-top: 1%;
	}

	.icon_2 {
		height: 24px;
		width: 24px;
		margin-top: 1%;
	}

	.img_box {
		width: 90%;
		margin: auto;
		height: 60%;
		background-color: #EEF8D3;
		border-radius: 20rpx;
		border: solid #CBEA7B 1px;
	}

	.img {
		width: 96%;
		height: 90%;
		margin-top: 7rpx;
		border-radius: 20rpx;
		// margin: 10px auto;
	}

	.title_type {
		width: 90%;
		margin: 15rpx auto;
		height: 60rpx;
		line-height: 60rpx;
		background-color: #EEF8D3;
	}

	.text {
		position: relative;
		top: -6px;
		left: 9px;
	}
</style>